
import axiosWraper from './axiosWraper';
let proxyUrl = 'http://106.53.221.204:6700/mlxc-applet-api';
let baiduMapKey = 'I9G0MRM6rpeY9DXX7qNQkTXM7t86a2nW';

const baiduMapServer = {

    /**
     * 百度地图地点搜索
     * @param params query
     */
    suggestion: async params => {
        let url = `${proxyUrl}/rest/suggestion`;
        return axiosWraper.getData(url, params)
    },

}

export default baiduMapServer;
